﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 掌控校园.ViewModels
{
    public class WeeklyCourses
    {
        public WeeklyCourses()
        {
            WeeklyCoursesCollention = new ObservableCollection<DailyCourses>();
        }

        public ObservableCollection<DailyCourses> WeeklyCoursesCollention { get; set; }

        public int Number { get; set; }

        public void LoadData()
        {
            #region
            DailyCourses day1 = new DailyCourses();
            Course day1Course1 = new Course();
            day1Course1.ClassHours = "40";
            day1Course1.CourseName = "数据库系统原理";
            day1Course1.CourseType = "理";
            day1Course1.Classroom = "7301";
            day1Course1.TeacherName = "汤影";
            day1Course1.Length = 2;
            day1.DailyCoursesCollection.Add(day1Course1);

            Course day1Course2 = new Course();
            day1Course2.ClassHours = "40";
            day1Course2.CourseName = "高级英语";
            day1Course2.CourseType = "理";
            day1Course2.Classroom = "6A307";
            day1Course2.TeacherName = "胡园媛";
            day1Course2.Length = 2;
            day1.DailyCoursesCollection.Add(day1Course2);

            Course day1Course3 = new Course();
            day1Course3.Length = 2;
            day1.DailyCoursesCollection.Add(day1Course3);

            Course day1Course4 = new Course();
            day1Course4.ClassHours = "40";
            day1Course4.CourseName = "Web应用开发技术";
            day1Course4.CourseType = "实";
            day1Course4.Classroom = "6A502";
            day1Course4.TeacherName = "李英毅";
            day1Course4.Length = 2;
            day1.DailyCoursesCollection.Add(day1Course4);


            Course day1Course5 = new Course();
            day1Course5.ClassHours = "40";
            day1Course5.CourseName = "Web应用开发技术";
            day1Course5.CourseType = "理";
            day1Course5.Classroom = "6B201";
            day1Course5.TeacherName = "李英毅";
            day1Course5.Length = 3;
            day1.DailyCoursesCollection.Add(day1Course5);

            WeeklyCoursesCollention.Add(day1);
            #endregion

            #region
            DailyCourses day2 = new DailyCourses();
            Course day2Course1 = new Course();
            day2Course1.ClassHours = "40";
            day2Course1.CourseName = "大学物理二（2）";
            day2Course1.CourseType = "理";
            day2Course1.Classroom = "7402";
            day2Course1.TeacherName = "李雄辉";
            day2Course1.Length = 2;
            day2.DailyCoursesCollection.Add(day2Course1);

            Course day2Course2 = new Course();
            day2Course2.ClassHours = "40";
            day2Course2.CourseName = "电路与电子模拟技术";
            day2Course2.CourseType = "理";
            day2Course2.Classroom = "6A309";
            day2Course2.TeacherName = "闫萍";
            day2Course2.Length = 2;
            day2.DailyCoursesCollection.Add(day2Course2);

            Course day2Course3 = new Course();
            day2Course3.Length = 2;
            day2.DailyCoursesCollection.Add(day2Course3);

            Course day2Course4 = new Course();
            day2Course4.ClassHours = "40";
            day2Course4.CourseName = "汇编语言程序设计";
            day2Course4.CourseType = "理";
            day2Course4.Classroom = "6A201";
            day2Course4.TeacherName = "洪志全";
            day2Course4.Length = 2;
            day2.DailyCoursesCollection.Add(day2Course4);


            Course day2Course5 = new Course();
            day2Course5.ClassHours = "40";
            day2Course5.CourseName = "记录片赏析";
            day2Course5.CourseType = "理";
            day2Course5.Classroom = "7404";
            day2Course5.TeacherName = "但敏";
            day2Course5.Length = 3;
            day2.DailyCoursesCollection.Add(day2Course5);

            WeeklyCoursesCollention.Add(day2);

            #endregion

            #region
            DailyCourses day3 =new DailyCourses();
            Course day3Course1 = new Course();
            day3Course1.ClassHours = "40";
            day3Course1.CourseName = "大学物理实验二";
            day3Course1.CourseType = "实";
            day3Course1.Classroom = "6A610";
            day3Course1.TeacherName = "张由群";
            day3Course1.Length = 4;
            day3.DailyCoursesCollection.Add(day3Course1);

            Course day3Course2 = new Course();
            day3Course2.Length = 7;
            day3.DailyCoursesCollection.Add(day3Course2);

            WeeklyCoursesCollention.Add(day3);
            #endregion

            #region
            DailyCourses day4 = new DailyCourses();
            Course day4Course1 = new Course();
            day4Course1.Length = 2;
            day4.DailyCoursesCollection.Add(day4Course1);

            Course day4Course2 = new Course();
            day4Course2.ClassHours = "40";
            day4Course2.CourseName = "高级英语";
            day4Course2.CourseType = "理";
            day4Course2.Classroom = "6A307";
            day4Course2.TeacherName = "胡媛媛";
            day4Course2.Length = 2;
            day4.DailyCoursesCollection.Add(day4Course2);

            Course day4Course3 = new Course();
            day4Course3.Length = 2;
            day4Course3.Classroom = "7402";
            day4Course3.CourseName = "大学物理二";
            day4Course3.TeacherName = "李雄辉";
            day4Course3.CourseType = "理";
            day4.DailyCoursesCollection.Add(day4Course3);

            Course day4Course4 = new Course();
            day4Course4.Length = 2;
            day4.DailyCoursesCollection.Add(day4Course4);


            Course day4Course5 = new Course();
            day4Course5.ClassHours = "40";
            day4Course5.CourseName = "现代社会经济活动";
            day4Course5.CourseType = "理";
            day4Course5.Classroom = "6B201";
            day4Course5.TeacherName = "彭逢明";
            day4Course5.Length = 3;
            day4.DailyCoursesCollection.Add(day4Course5);

            WeeklyCoursesCollention.Add(day4);
            #endregion

            #region
            DailyCourses day5 = new DailyCourses();
            Course day5Course1 = new Course();
            day5Course1.ClassHours = "40";
            day5Course1.CourseName = "大学物理二（2）";
            day5Course1.CourseType = "实";
            day5Course1.Classroom = "6A603";
            day5Course1.TeacherName = "张晓琴";
            day5Course1.Length = 2;
            day5.DailyCoursesCollection.Add(day5Course1);

            Course day5Course2 = new Course();
            day5Course2.ClassHours = "40";
            day5Course2.CourseName = "电路与电子模拟技术";
            day5Course2.CourseType = "理";
            day5Course2.Classroom = "6A309";
            day5Course2.TeacherName = "闫萍";
            day5Course2.Length = 2;
            day5.DailyCoursesCollection.Add(day5Course2);


            Course day5Course3 = new Course();
            day5Course3.ClassHours = "40";
            day5Course3.CourseName = "汇编语言程序设计";
            day5Course3.CourseType = "理";
            day5Course3.Classroom = "6A305";
            day5Course3.TeacherName = "洪志全";
            day5Course3.Length = 2;
            day5.DailyCoursesCollection.Add(day5Course3);

            Course day5Course4 = new Course();
            day5Course4.Length = 2;
            day5Course4.TeacherName = "刘盼";
            day5Course4.Classroom = "TW01";
            day5Course4.CourseType = "实";
            day5Course4.CourseName = "大学体育（3）";
            day5.DailyCoursesCollection.Add(day5Course4);


            Course day5Course5 = new Course();
            day5Course5.ClassHours = "40";
            day5Course5.CourseName = "中国近代伪科学活动";
            day5Course5.CourseType = "理";
            day5Course5.Classroom = "6A104";
            day5Course5.TeacherName = "李欣";
            day5Course5.Length = 3;
            day5.DailyCoursesCollection.Add(day5Course5);

            WeeklyCoursesCollention.Add(day5);

            #endregion

            #region
            DailyCourses day6 = new DailyCourses();
            Course day6Course1 = new Course();
            day6Course1.Length = 2;
            day6.DailyCoursesCollection.Add(day6Course1);

            Course day6Course2 = new Course();
            day6Course2.ClassHours = "40";
            day6Course2.CourseName = "实用英语翻译与技巧";
            day6Course2.CourseType = "理";
            day6Course2.Classroom = "3103";
            day6Course2.TeacherName = "康国林";
            day6Course2.Length = 2;
            day6.DailyCoursesCollection.Add(day6Course2);

            Course day6Course3 = new Course();
            day6Course3.Length = 7;
            day6.DailyCoursesCollection.Add(day6Course3);
            WeeklyCoursesCollention.Add(day6);
            #endregion

        }

    }
}
